/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testing_class;

import bsh.EvalError;
import java.io.File;
import stendcontrol.Research;
import stendcontrol.ResearchContainer;

/**
 *
 * @author minaev
 */
public class Research_test {
    public static void main(String[] args) throws EvalError {
        //Research r = new Research("test", "System.print(\"test\");");
        ResearchContainer rc = new ResearchContainer();
        rc.loadReseachesFromDirectory("./", ".ini");
        for(Research rs:rc.getResearches()){
            System.out.println(rs);
            System.out.println(rs.getCode());
            
        }
        //r.unset("");
        System.out.println("test");
        System.out.println(File.separator);
    }
}
